# == Schema Information
# Schema version: 37
#
# Table name: judgments
#
#  id            :integer(11)   not null, primary key
#  score         :string(255)   
#  notes         :text          
#  submission_id :integer(11)   
#  judge_id      :integer(11)   
#  created_at    :datetime      
#  updated_at    :datetime      
#  complete      :boolean(1)    
#  data          :text          
#

class Judgment < ActiveRecord::Base    
  belongs_to :judge         
  belongs_to :submission    
  validates_presence_of :judge_id
  validates_numericality_of :score 
  serialize :data
end
